#ifndef _PRYMID_H_
#define _PRYMID_H_

#include <vector>
#include "cellaccess.h"

namespace visualization
{

class Pyramid : public Cell3D
{
	friend class CellAccess;

private:
	CellAccess *server;
	Pyramid(CellAccess *access) : server(access) {}

public:
	static const size_t facets[16];
	static const size_t facet_offsets[5];
	static const size_t facet_size[5];

	virtual void CacuParaCoord(const Point &dest, Point &para) const {}
	virtual void CacuWorldCoord(const Point &dest, Point &world) const {}

	virtual CellType GetFacet(size_t i, size_t *point_ids);
	virtual Point GetBeryCenter() const;
};

}

#endif
